Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2014
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.10 KB | None | 0 0
  1. dcmd_c(playerid, params[] )
  2. {
  3. #pragma unused params
  4. new C_Rules;
  5. new BigString[1900];
  6. strcat(BigString, "\n{FFFFFF}/boost - Speed and jump boost for your car!.", 1900 );
  7. strcat(BigString, "\n{FFFFFF}/t - gives you a list of all the teleport commands.", 1900 );
  8. strcat(BigString, "\n{FFFFFF}/v- to spawn a car in front of you.", 1900 );
  9. strcat(BigString, "\n{FFFFFF}/heal - refills you health.", 1900 );
  10. strcat(BigString, "\n{FFFFFF}/kill - kills your player.", 1900 );
  11. strcat(BigString, "\n{FFFFFF}/changepass - lets you change your password.", 1900 );
  12. strcat(BigString, "\n{FFFFFF}/votekick - lets you vote kick a player.", 1900 );
  13. strcat(BigString, "\n{FFFFFF}/pm - lets you send a private message to a player.", 1900 );
  14. strcat(BigString, "\n{FFFFFF}/reply - lets you reply to a private message sent to you.", 1900 );
  15. strcat(BigString, "\n{FFFFFF}/god - gives you godmode.", 1900 );
  16. strcat(BigString, "\n{FFFFFF}/colors - gives you a list of colors to choose from.", 1900 );
  17. strcat(BigString, "\n{FFFFFF}/radio - gives you a list radio stations.", 1900 );
  18. strcat(BigString, "\n{FFFFFF}/afk - lets you go in afk mode (Away From Keyboard).", 1900 );
  19. strcat(BigString, "\n{FFFFFF}/back - gets you out of afk mode.", 1900 );
  20. strcat(BigString, "\n{FFFFFF}/afklist - gives you a list of people in afk mode..", 1900 );
  21. strcat(BigString, "\n{FFFFFF}/w - gives you a list weapons available!", 1900 );
  22. strcat(BigString, "\n{FFFFFF}/joinrace - Allows you to join a race.", 1900 );
  23. strcat(BigString, "\n{FFFFFF}/exitrace - Allows you to exit race.", 1900 );
  24. strcat(BigString, "\n", 1900 );
  25. ShowPlayerDialog(playerid,C_Rules, DIALOG_STYLE_MSGBOX, "{FFFA00}Commands", BigString, "Ok","Cancel");
  26. return 1;
  27. }
  28. dcmd_god(playerid, params[] )
  29. {
  30. #pragma unused params
  31. if (God[playerid] == 1)
  32. {
  33. GameTextForPlayer(playerid,"~w~Godmode~r~ OFF",3000,4);
  34. SetPlayerHealth(playerid, 100);
  35. SetPlayerArmour(playerid, 100);
  36. God[playerid] = 0;
  37. return 1;
  38. }
  39. else if(God[playerid] == 0)
  40. {
  41. SendClientMessage(playerid,0xFF0000FF,"{FF00EB}Note: You can still die if you blow up in a car or if you type the command/kill.");
  42. GameTextForPlayer(playerid,"~w~Godmode~g~ ON",3000,4);
  43. God[playerid] = 1;
  44. SetPlayerArmour(playerid, 9999999);
  45. SetPlayerHealth(playerid, 9999999);
  46. return 1;
  47. }
  48. return 0;
  49. }
  50. dcmd_heal(playerid, params[] )
  51. {
  52. #pragma unused params
  53. SetPlayerHealth(playerid, 100.0);
  54. SendClientMessage(playerid,0x0A00FFFF,"You now have full health!");
  55. return 1;
  56. }
  57. dcmd_kill(playerid, params[] )
  58. {
  59. #pragma unused params
  60. SetPlayerHealth(playerid, 0.0);
  61. SendClientMessage(playerid,0xEB0000FF,"You killed yourself!");
  62. return 1;
  63. }
  64. dcmd_help(playerid, params[] )
  65. {
  66. #pragma unused params
  67. ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST,"{FFFA00}Help","Commands (/c)\nTeleports (/t)\n","Select","Close");
  68. return 1;
  69. }
  70. dcmd_tele(playerid, params[] )
  71. {
  72. #pragma unused params
  73. ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST,"{FFFA00}Teleports","Abandoned Farm (/af)\nAbandoned Farm 2 (/af2)\nLos Venturas Airport (/lva)\nLos Santos Airport (/lsa)\nAbandoned Airport (/aa)\nLos Venturas Drop 1 (/lvd1)\nLos Santos Parkor Map 1 (/lsp1)","Select","Close");
  74. return 1;
  75. }
  76. dcmd_colors(playerid, params[] )
  77. {
  78. #pragma unused params
  79. ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST,"{FFFA00}Server Colors","Yellow\nRed\nBlue\nGreen\nOrange","Select","Close");
  80. return 1;
  81. }
  82. dcmd_radio(playerid, params[] )
  83. {
  84. #pragma unused params
  85. ShowPlayerDialog(playerid, 123, DIALOG_STYLE_LIST,"{FF00FF}Radio Channels","Breath Carolina- Hit and Run\nThe Chainsmokers - #SELFIE\nDavid Guetta & Showtek - BAD\n50 Cent - Hold On\nSkrillex - Stranger\nAvicii - Addicted To You (Avicii Remix)\nColdplay - Fix You\nClara C- Fireflies (Owl City Cover)\n{FFFF00}Stop Radio","Select","Close");
  86. return 1;
  87. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement